package com.mes.biz.mapper;

import com.mes.biz.domain.BizProduct;
import com.mes.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.mes.biz.domain.BizSupplier;

/**
 * 供应商档案Mapper接口
 * @author hwg
 * @email hwg
 * @date 2023-04-30
 */
public interface BizSupplierMapper extends BaseMapper<BizSupplier>
{

    /**
     * 批量删除供应商档案
     * @param ids 需要删除的供应商档案ID集合
     * @return
     */
    public int deleteBizSupplierByIds(@Param("ids") String[] ids, @Param("DEL_FLAG_DELETE") String DEL_FLAG_DELETE);


    /**
     * 根据供应商编号查询产品信息
     * @param supplierCode
     * @return
     */
    BizSupplier getBizSupplierBySupplierCode(@Param("supplierCode") String supplierCode);
}
